import { NextFunction, Request, Response } from "express";

const whiteList = ["public"];
// 权限校验
export const auth = (req: Request, res: Response, next: NextFunction) => {
  const token = req.headers.token;
  const { path } = req;
  next();
};
